
#include "camp.h"
#include "resourcemanager.h"

#define __super		Tower

Camp::Camp( const Point& pos ) : __super(pos)
{
	type = TowerType::castle;
}

Camp::~Camp()
{
	if(sprite) {
		sprite->removeFromParent();
	}
}

void Camp::init()
{
	sprite = CREATE_SPRITE("textures/entities/shape8412.png");
	sprite->setAnchorPoint(Point(0.5f, 0.0f));
	sprite->setPosition(position);
}

bool Camp::update( float ticks )
{
	// TODO: create soldiers
	return true;
}
